what is formatted input and output in c